package com.gitee.yangtianle.redisson.seckill.annotation;

import java.lang.annotation.*;
import java.util.concurrent.TimeUnit;

/**
 * @author tianle.ytl
 * @date 2018/9/19
 */
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface RedissonDispersedLimit {

    String key();

    double limiter();

    long appointedTime() default 1000L;

    TimeUnit unitTimeOut() default TimeUnit.MILLISECONDS;
}
